package org.freedoit.server.service.task;

import org.freedoit.common.data.FreeDoitResponse;

public class ServiceContext <T, R extends FreeDoitResponse> {
	
	private Long currentUserId;
	private Long currentClientId;
	private String key;
	private T requestObject;
	private R responseObject;
	
	public Long getCurrentUserId() {
		return currentUserId;
	}
	
	public void setCurrentUserId(Long currentUserId) {
		this.currentUserId = currentUserId;
	}
	
	public Long getCurrentClientId() {
		return currentClientId;
	}
	
	public void setCurrentClientId(Long currentClientId) {
		this.currentClientId = currentClientId;
	}
	
	public T getRequestObject() {
		return requestObject;
	}
	
	public void setRequestObject(T requestObject) {
		this.requestObject = requestObject;
	}
	
	public R getResponseObject() {
		return responseObject;
	}
	
	public void setResponseObject(R responseObject) {
		this.responseObject = responseObject;
	}
	
	public String getKey() {
		return this.key;
	}
	
	public void setKey(String key) {
		this.key = key;
	}
}
